<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>Insert title here</title>
		
		<!-- 引入共同的头文件 -->
		<jsp:include page="/common/head.jsp"></jsp:include>
		
	</head>
	<body>
		<h5>登录成功页面...</h5>
		<table id="dg">  
		
		</table>  
		
		
		<script type="text/javascript">
		$(function(){
			$('#dg').datagrid({    
			    url:'${pageContext.request.contextPath}/employee/findAll',    
			    columns:[[    
			        {field:'name',title:'姓名',width:100},    
			        {field:'phone',title:'手机',width:100},    
			        {field:'salary',title:'薪水',width:100,align:'right'}    
			    ]],
			    
			});  
		}); 

		
		</script>
		
	</body>
</html>